home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Zoo Guides: Life in the Desert
/
Zoo Guides - Life in the Desert.iso
/
pc
/
lfnthdsr
/
chapters
/
shared.dir
/
00365_Script_365
< prev
next >
Wrap
Text File
|
1995-05-08
|
3KB
|
128 lines
--
on findfly
global gowhere,index, family
put 0 into index
set the castnum of sprite 23 to f47
global species
put "reptiles:REPT:" into holder
put line gowhere of field "indexkey" into place
if word 5 of place = "" then
put word 1 of place into filename
put value (word 2 of place) into species
put value (word 3 of place) into pageno
put value (word 4 of place) into numofpages
else
put word 1 of place & " " & word 2 of place into filename
put value (word 3 of place) into species
put value (word 4 of place) into pageno
put value (word 5 of place) into numofpages
end if
set the castnum of sprite 22 to f28
updatestage
if the movie <> filename then
chapgo
updatestage
puppetsprite 21, false
puppetsprite 19, false
puppetsprite 13, false
puppetsprite 5, false
set the castnum of sprite 22 to f28
updatestage
if the optiondown then
--
else
sound playfile 1, "MofA:Mammals of Africa:sounds:jungle music"
end if
go frame species of movie filename
getgoing
updatemovie
-- this is the code for changing the page number on the frame
if numofpages = 2 then
--
if pageno = 2 then
puppetsprite 11, true
puppetsprite 16, true
set the castnum of sprite 11 to the castnum of sprite 11+1
set the castnum of sprite 16 to f46
updatestage
end if
else
if numofpages = 3 then
--
if pageno = 2 then
puppetsprite 11, true
puppetsprite 16, true
set the castnum of sprite 11 to the castnum of sprite 11+1
set the castnum of sprite 16 to f54
updatestage
else
if pageno = 3 then
puppetsprite 11, true
puppetsprite 16, true
set the castnum of sprite 11 to the castnum of sprite 11+2
set the castnum of sprite 16 to f56
updatestage
end if
end if
end if
end if
else
puppetsprite 21, false
puppetsprite 19, false
puppetsprite 13, false
puppetsprite 5, false
set the castnum of sprite 22 to f28
updatestage
put field "dummy" into field "index1"
go frame species
if numofpages = 2 then
--
if pageno = 2 then
puppetsprite 11, true
puppetsprite 16, true
set the castnum of sprite 11 to the castnum of sprite 11+1
set the castnum of sprite 16 to f46
updatestage
end if
else
if numofpages = 3 then
--
if pageno = 2 then
puppetsprite 11, true
puppetsprite 16, true
set the castnum of sprite 11 to the castnum of sprite 11+1
set the castnum of sprite 16 to f54
updatestage
else
if pageno = 3 then
puppetsprite 11, true
puppetsprite 16, true
set the castnum of sprite 11 to the castnum of sprite 11+2
set the castnum of sprite 16 to f56
updatestage
end if
end if
end if
end if
end if
end if